<%@ page import="registerallocator.Coordenador" %>



<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'login', 'error')} required">
	<label for="login">
		<g:message code="coordenador.login.label" default="Login" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="login" required="" value="${coordenadorInstance?.login}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'senha', 'error')} required">
	<label for="senha">
		<g:message code="coordenador.senha.label" default="Senha" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="password" name="senha" required="" value="${coordenadorInstance?.senha}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="coordenador.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" maxlength="50" required="" value="${coordenadorInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'mail', 'error')} required">
	<label for="mail">
		<g:message code="coordenador.mail.label" default="Mail" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="email" name="mail" required="" value="${coordenadorInstance?.mail}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'fone', 'error')} ">
	<label for="fone">
		<g:message code="coordenador.fone.label" default="Fone" />
		
	</label>
	<g:textField name="fone" pattern="${coordenadorInstance.constraints.fone.matches}" value="${coordenadorInstance?.fone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'accountExpired', 'error')} ">
	<label for="accountExpired">
		<g:message code="coordenador.accountExpired.label" default="Account Expired" />
		
	</label>
	<g:checkBox name="accountExpired" value="${coordenadorInstance?.accountExpired}" />
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'accountLocked', 'error')} ">
	<label for="accountLocked">
		<g:message code="coordenador.accountLocked.label" default="Account Locked" />
		
	</label>
	<g:checkBox name="accountLocked" value="${coordenadorInstance?.accountLocked}" />
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'curso', 'error')} required">
	<label for="curso">
		<g:message code="coordenador.curso.label" default="Curso" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="curso" name="curso.id" from="${registerallocator.Curso.list()}" optionKey="id" required="" value="${coordenadorInstance?.curso?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'enabled', 'error')} ">
	<label for="enabled">
		<g:message code="coordenador.enabled.label" default="Enabled" />
		
	</label>
	<g:checkBox name="enabled" value="${coordenadorInstance?.enabled}" />
</div>

<div class="fieldcontain ${hasErrors(bean: coordenadorInstance, field: 'passwordExpired', 'error')} ">
	<label for="passwordExpired">
		<g:message code="coordenador.passwordExpired.label" default="Password Expired" />
		
	</label>
	<g:checkBox name="passwordExpired" value="${coordenadorInstance?.passwordExpired}" />
</div>

